package org.sean.framework.bean;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Key-Value 类型
 *
 * @param <K> K
 * @param <V> V
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "键值对")
public class PairValue<K, V> {

    @Schema(description = "KEY")
    public K key;

    @Schema(description = "VALUE")
    public V value;
}
